﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SAM.Framework.Log
{
    /// <summary>
    /// log实体的实现实体
    /// </summary>
    public interface ILog<T>
    {
        void Debug(T message);
        void Debug(T message, Exception ex);

        void Info(T message);
        void Info(T message, Exception ex);

        void Warn(T message);
        void Warn(T message, Exception ex);

        void Error(T message);
        void Error(T message, Exception ex);

        void Fatal(T message);
        void Fatal(T message, Exception ex);
    }
}
